/** 仓库 */
export default new (class Store {
  // 笔的MAC地址
  public mac: any;
  // 笔
  public pen: any;
  // 每支笔的WebSocket
  public socket: any;
  // 每支笔的WebWorker
  public worker: any;
  // 临时笔记数据
  public tempPenData: any;
  // 最后一个下笔格子笔记数据
  public lastPenData: any;
  // 背景图
  public background: any;
  // 计时器
  public timer: any;
  constructor() {
    this.mac = null;
    this.pen = null;
    this.socket = null;
    this.worker = null;
    this.background = null;
    this.tempPenData = {};
    this.lastPenData = {};
    this.timer = null;
  }
})();
